//package com.icarsaas.saas.component.comment.bean;
//
//import org.hibernate.jpa.boot.spi.IntegratorProvider;
//import org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer;
//
//import java.util.Collections;
//import java.util.Map;
//
///**
// * hibernate添加属性(已在db configure 中添加)
// *
// * @author xrong120@gmail.com
// * @date 2021/12/13
// */
//public class HibernateProperties implements HibernatePropertiesCustomizer {
//    @Override
//    public void customize(Map<String, Object> hibernateProperties) {
//        hibernateProperties.put("hibernate.use_sql_comments", true);
//        hibernateProperties.put("hibernate.integrator_provider",
//                (IntegratorProvider) () -> Collections.singletonList(CommentIntegrator.INSTANCE));
//    }
//}
